{template 'common/header'}
<style type="">
    .panel-default>.panel-heading {
        color: #333;
        background-color: #f5f5f5;
        border-color: #ddd;
    }
    .panel-heading {
        padding: 5px 15px;
    }
    .panel-heading {
        padding: 10px 15px;
        border-bottom: 1px solid transparent;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
    }
    .panel .panel-body {
        padding: 5px!important;
    }
    .btn-primary.active {
        background-color: #04be02;
        border-color: #04be02;
    }
</style>
{if $op == 'display'}
<form class="form-horizontal" action="" method="post">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">基本信息设置</h3>
        </div>
        <div class="panel-body">
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px">小程序名称</label>
                <div class="form-controls col-sm-5">
                    <input type="text" name="name" id="name" value="{$item['name']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="" autocomplete="off">
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block">小程序名称</div>
            </div> 
            <div class="form-group">
                <label for="" class="control-label col-sm-2" style="margin-right:45px">默认城市</label>
                <div class="form-controls col-sm-5">
                    <input type="text" name="cityname" id="cityname" value="{$item['cityname']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="" autocomplete="off">
                </div>
                <div class="col-sm-1"></div>
                <div class="form-controls col-sm-3 help-block">默认城市[例如  太原市]</div>
            </div> 
            <div class="form-group" style="margin-bottom:0; margin-left: 5px; width: 100%; display:block; font-size: 18px;>
                <label for="" class="control-label col-sm-1" style="">置顶设置</label>
            </div>
            <div class="form-group">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="col-md-2 control-label" for="" style="margin-right:45px">是否开启置顶</label>
                        <div class="form-controls col-sm-5" >
                            <label class="select_one">
                                <input type="radio" name="zd_type"  value="1" {if $item['zd_type'] == '1'} checked{/if} />是
                                <input type="radio" name="zd_type"  value="0" {if $item['zd_type'] == '0'} checked{/if} />否
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label" style="margin-right:45px">置顶费用</label>
                        <div class="form-controls col-sm-5">
                            <input type="text" name="zd_money" id="zd_money" value="{$item['zd_money']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="例如：30" autocomplete="off">
                        </div>
                        <div class="col-sm-1"></div>
                        <div class="form-controls col-sm-3 help-block">置顶费用<p style="color: red">[1天多少钱]</p></div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label" style="margin-right:45px">置顶信息数量</label>
                        <div class="form-controls col-sm-5">
                            <input type="text" name="zd_num" id="zd_num" value="{$item['zd_num']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="例如：30" autocomplete="off">
                        </div>
                        <div class="col-sm-1"></div>
                        <div class="form-controls col-sm-3 help-block"><p style="color: red"></p></div></div>
                    </div>
                </div>
            </div>
            <div class="form-group" style="margin-bottom:0; margin-left: 10px; width: 100%; display:block; font-size: 18px;>
                <label for="" class="control-label col-sm-1" style="">店铺入驻设置<p style="color:red; margin-left:45px;">注：只有开启店铺入驻，商家才可发布信息</p></label>
            </div>
            <div class="form-group">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="col-md-2 control-label" for="" style="margin-right:45px">是否开启店铺入驻</label>
                        <div class="form-controls col-sm-5" >
                            <label class="select_one">
                                <input type="radio" name="dp_type"  value="1" {if $item['dp_type'] == '1'} checked{/if} />是
                                <input type="radio" name="dp_type"  value="0" {if $item['dp_type'] == '0'} checked{/if} />否
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label" style="margin-right:45px">店铺入驻费用</label>
                        <div class="form-controls col-sm-5">
                            <input type="text" name="dp_money" id="dp_money" value="{$item['dp_money']}" class="form-control ng-pristine ng-untouched ng-valid ng-empty"  placeholder="例如：30/年" autocomplete="off">
                        </div>
                        <div class="col-sm-1"></div>
                        <div class="form-controls col-sm-3 help-block">店铺入驻费用<p style="color: red">[单位 年]</p></div>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="col-md-2 control-label" for="" style="margin-right:45px">是否开启骗审</label>
                        <div class="form-controls col-sm-5" >
                            <label class="select_one">
                                <input type="radio" name="p_type"  value="1" {if $item['p_type'] == '1'} checked{/if} />是
                                <input type="radio" name="p_type"  value="0" {if $item['p_type'] == '0'} checked{/if} />否
                            </label>
                        </div>
                    </div>
                </div>
            </div>
        <div class="form-group">
            <div class="col-sm-12">
                <input name="token" type="hidden" value="{$_W['token']}" />
                <input type="submit" class="btn btn-primary col-lg-1" name="submit" value="提交" style="margin-left: 45%;" />
            </div>
        </div>
</form>
{/if}
</div>
</div>
{template 'common/footer'}